Package-level declarations

Types

Link copied to clipboard
data class ResultList<RESULT : Any>(val results: List<RESULT>)
Link copied to clipboard
class ScatterGather(maxConcurrency: Int)

Scatter gather pattern for generating multiple results in parallel and consolidating them.

Link copied to clipboard
class ScatterGatherBuilder<ELEMENT : Any, RESULT : Any>(elementClass: Class<ELEMENT>, resultClass: Class<RESULT>, maxConcurrency: Int = DEFAULT_MAX_CONCURRENCY)

Builder for creating a consensus workflow that generates results from multiple but need not use an LLM at all.

Link copied to clipboard
data class SimpleAgentBuilder<RESULT : Any>(resultClass: Class<RESULT>, inputClasses: List<Class<out Any>> = emptyList()) : WorkFlowBuilderConsuming, WorkFlowBuilderWithInput

Simplest way to build an agent that performs a single operation, like an LLM call.